<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
       	<?php echo $this->headTitle() ?>
       	<?php echo $this->headMeta() ?>
		<?php echo $this->headLink() ?>
		<?php echo $this->headScript() ?>
		<?php
			$ssFilter = $this->arrParam['ssFilter'];
			$langTmp = $ssFilter['lang'];
			$lang = '';
			if(empty($langTmp)){
				$lang = '';
			}else{
				$lang = 'lang/' . $langTmp;
			}
		?>
    </head>
    <body id="minwidth-body">   
        <div id="border-top" class="h_green">
            <div>
                <div>
                    <span class="title" style="padding-left:20px"><?php echo $this->translate("Admin") ?></span>
                    <?php require_once 'link-lang.php'; ?>
                </div>
            </div>
        </div>
        <div id="header-box">
            <div id="module-status">
                <span class="preview">
                    <a target="_blank" href="<?php echo DOMAIN_URL ?>"><?php echo $this->translate('Preview') ?></a>
                </span>
                
                <!--  
                <a href="#">
                    <span class="no-unread-messages">0</span>
                </a>
                <span class="loggedin-users">1</span>
                -->
                <span class="logout">
                    <a href="<?php echo $this->baseUrl('/default/public/logout');?>"><?php echo $this->translate('Logout') ?></a>
                </span>
            </div>
            <div id="module-menu">

                <!-- BEGIN: Menu -->
                <ul class="menuTiny" id="menuTiny">
                    <li><a target="_blank" href="<?php echo $this->baseUrl('/default/index/index/'.$lang);?>"><?php echo $this->translate('Site')?></a>
                    	<ul>
                    		<li><a href="<?php echo DOMAIN_URL."/default/page/index" ?>"><?php echo $this->translate('page') ?></a></li>
                    		<li><a href="<?php echo DOMAIN_URL."/default/slide/index" ?>"><?php echo $this->translate('slide') ?></a></li>
                    		<li><a href="<?php echo DOMAIN_URL."/default/partner/index" ?>"><?php echo "Đối tác" ?></a></li>
                    		<li><a href="<?php echo DOMAIN_URL."/default/contact/edit" ?>"><?php echo "Liên hệ" ?></a></li>
    						<li><a href="<?php echo DOMAIN_URL."/default/inbox/index" ?>"><?php echo "Hộp thư" ?></a></li>                    		               		
                    	</ul>
                    </li>
                    <li><a href="#" class="menuTinyLink"><?php echo $this->translate('Member')?></a>
                        <ul>
                            <li><a href="<?php echo $this->baseUrl('/default/admin-group/index/'.$lang);?>"><?php echo $this->translate('Groups')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/default/admin-users/index/'.$lang);?>"><?php echo $this->translate('Users')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/default/admin-supports/index/'.$lang);?>"><?php echo $this->translate('Supports')?></a></li>
                        </ul>
                    </li>
                    <li>
                    	<a href="#"><?php echo $this->translate('Services') ?></a>
                    	<ul>
                    		<li><a href="<?php echo DOMAIN_URL."/service/admin-category-service/index" ?>"><?php echo $this->translate('Category Services') ?></a></li>
                    		<li><a href="<?php echo DOMAIN_URL."/service/admin-service-item/index" ?>"><?php echo $this->translate('Services') ?></a></li>
                    	</ul>
                    </li>
                    <li>
                    	<a href="#">Sản phẩm</a>
                    	<ul>
                    		<li><a href="<?php echo DOMAIN_URL."/products/admin-category/index" ?>"><?php echo "Chuyên mục" ?></a></li>
                    		<li><a href="<?php echo DOMAIN_URL."/products/admin-product/index" ?>"><?php echo "Sản phẩm" ?></a></li>
                    	</ul>
                    </li>
                    
                     <li>
                        <a href="#" class="menuTinyLink"><?php echo $this->translate('News')?></a>
                        <ul>
                            <li><a href="<?php echo $this->baseUrl('/news/admin-category-news/index/'.$lang);?>"><?php echo $this->translate('Category news')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/news/admin-news-item/index/'.$lang);?>"><?php echo $this->translate('News')?></a></li>
                        </ul>
                    </li>
                    <!-- 
                    <li>
                        <a href="#" class="menuTinyLink"><?php echo $this->translate('Product')?></a>
                        <ul>
                            <li><a href="<?php echo $this->baseUrl('/products/admin-category/index/'.$lang);?>"><?php echo $this->translate('Category product')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/products/admin-product/index/'.$lang);?>"><?php echo $this->translate('Product')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/products/admin-invoice/index/'.$lang);?>"><?php echo $this->translate('Invoice')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/products/admin-guest/index/'.$lang);?>"><?php echo $this->translate('Guest')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/products/admin-slide/index/'.$lang);?>"><?php echo $this->translate('Slide images')?></a></li>
                        </ul>
                    </li>
                     
                    <li>
                        <a href="#" class="menuTinyLink"><?php echo $this->translate('Manage website')?></a>
                        <ul>
                            <li><a href="<?php echo $this->baseUrl('/default/admin-home/index/'.$lang);?>"><?php echo $this->translate('Home')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/default/admin-page-news/index/'.$lang);?>"><?php echo $this->translate('Page news')?></a></li>
                            <li><a href="<?php echo $this->baseUrl('/default/admin-page-product/index/'.$lang);?>"><?php echo $this->translate('Page product')?></a></li>
                        </ul>
                    </li>
                    -->
                </ul>

                <script type="text/javascript">
                    var menu=new menu.dd("menu");
                    menu.init("menuTiny","menuTinyHover");
                </script><!-- END: Menu -->
            </div>
            <div class="clr"></div>
        </div>